package com.dhcc.bpm.alarm.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dhcc.bpm.alarm.entity.AlarmObject;
import com.dhcc.bpm.alarm.mapper.AlarmObjectMapper;
import com.dhcc.bpm.alarm.service.IAlarmObjectGroupService;
import com.dhcc.bpm.alarm.service.IAlarmObjectService;
import com.dhcc.bpm.alarm.vo.AlarmObjectVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author xiafayu
 * @since 2022-02-16
 */
@Service
public class AlarmObjectServiceImpl extends ServiceImpl<AlarmObjectMapper, AlarmObject> implements IAlarmObjectService {
    
	@Autowired
    AlarmObjectMapper alarmObjectMapper;
	
	@Autowired
	IAlarmObjectGroupService alarmObjectGroupService;

    @Override
    public IPage<AlarmObjectVO> selectAlarmObjectPage(IPage<AlarmObjectVO> page, AlarmObjectVO AlarmObject) {
        return page.setRecords(alarmObjectMapper.selectAlarmObjectPage(page, AlarmObject));
    }

}
